package sctu.edu.java.year2016.team05.xionglianjin.day20160530.chapter8_3;

/**
 * Created by lianjin on 2016/5/30.
 * 尝试创建一个父类和子类，分别创建构造方法，然后向父类和子类添加成员变量和方法，并总结构建子类对象时的顺序
 */
 class Gouzao {
    private String name;
    private String number;
    public Gouzao() {
    }
     class zilei extends Gouzao{
         int a;
        public zilei(String name,String number){
            super();
            this.a=a;
            System.out.println("XYZ");
        }
    }
}